/*    */ package com.feeyin.radar.sys.dao;
/*    */ 
/*    */ import com.feeyin.radar.sys.model.Users;
/*    */ import java.io.PrintStream;
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.BeanFactory;
/*    */ import org.springframework.context.support.ClassPathXmlApplicationContext;
/*    */ 
/*    */ public class TestUserDAO
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/* 13 */     ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(
/* 14 */       new String[] { "context/applicationContext.xml" });
/* 15 */     BeanFactory factory = appContext;
/*    */ 
/* 17 */     UserDAO userDAO = (UserDAO)factory.getBean("userDAO");
/*    */ 
/* 24 */     List list = new ArrayList();
/* 25 */     list = userDAO.getAuditUsers(Integer.valueOf(4));
/* 26 */     if (list != null)
/* 27 */       for (int i = 0; i < list.size(); i++) {
/* 28 */         Users user = new Users();
/* 29 */         user = (Users)list.get(i);
/* 30 */         System.out.println("userId = " + user.getId());
/*    */       }
/*    */   }
/*    */ }

/* Location:           C:\Users\e547415\MyProject\rone\WEB-INF\classes\
 * Qualified Name:     com.feeyin.radar.sys.dao.TestUserDAO
 * JD-Core Version:    0.6.0
 */